import request from '@/utils/request'

export function selectAllReserve(params) {
  return request({
    url: 'reserve/selectAllReserve',
    method: 'get',
    params
    // params: { token }
  })
}

export function insertReserve(params) {
  return request({
    url: 'reserve/insert',
    method: 'get',
    params
    // params: { token }
  })
}

export function updateReserve(params) {
  return request({
    url: 'reserve/update',
    method: 'get',
    params
    // params: { token }
  })
}

export function cancelReserve(params) {
  return request({
    url: 'reserve/cancelReserve',
    method: 'get',
    params
    // params: { token }
  })
}

export function abrogateReserve(params) {
  return request({
    url: 'reserve/abrogateReserve',
    method: 'get',
    params
    // params: { token }
  })
}
